---
import '@repo/ui/app.css';
import PostHog from '../components/posthog.astro';

export type Props = {
	title: string;
	description?: string;
};

const { title, description = 'Epicenter - Building tools that matter' } =
	Astro.props;
---

<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="description" content={description} />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
		<meta name="generator" content={Astro.generator} />
		<title>{title}</title>
		<PostHog />
	</head>
	<body>
		<slot />
	</body>
</html>
